package top.yokey.learn2;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class Weather {

    @SerializedName("cityid")
    private String cityid;
    @SerializedName("city")
    private String city;
    @SerializedName("update_time")
    private String updateTime;
    @SerializedName("data")
    private List<DataDTO> data;

    public String getCityid() {
        return cityid;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        @SerializedName("date")
        private String date;
        @SerializedName("wea")
        private String wea;
        @SerializedName("wea_img")
        private String weaImg;
        @SerializedName("tem_day")
        private String temDay;
        @SerializedName("tem_night")
        private String temNight;
        @SerializedName("win")
        private String win;
        @SerializedName("win_speed")
        private String winSpeed;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getWea() {
            return wea;
        }

        public void setWea(String wea) {
            this.wea = wea;
        }

        public String getWeaImg() {
            return weaImg;
        }

        public void setWeaImg(String weaImg) {
            this.weaImg = weaImg;
        }

        public String getTemDay() {
            return temDay;
        }

        public void setTemDay(String temDay) {
            this.temDay = temDay;
        }

        public String getTemNight() {
            return temNight;
        }

        public void setTemNight(String temNight) {
            this.temNight = temNight;
        }

        public String getWin() {
            return win;
        }

        public void setWin(String win) {
            this.win = win;
        }

        public String getWinSpeed() {
            return winSpeed;
        }

        public void setWinSpeed(String winSpeed) {
            this.winSpeed = winSpeed;
        }
    }
}
